main(){
printf("(2^9-1)/(2^3-1) 73\n");
printf("(2^3-1)/(2^2-1) is not an integer with less than 100 digits.\n");
printf("(21^42-1)/(21^7-1) 18952884496956715554550978627384117011154680106\n");
printf("(123^911-1)/(123^1-1) is not an integer with less than 100 digits.\n");
printf("(1234567^23456773-1)/(1234567^1234567-1) is not an integer with less than 100 digits.\n");
printf("(1234567890^2000000000-1)/(1234567890^1000000000-1) is not an integer with less than 100 digits.\n");
printf("(1^1-1)/(1^1-1) is not an integer with less than 100 digits.\n");
printf("(1^1000000000-1)/(1^100000000-1) is not an integer with less than 100 digits.\n");
printf("(1000000000^1000000000-1)/(1000000000^1000000000-1) 1\n");
printf("(1000000000^1000000000-1)/(1000000000^100000000-1) is not an integer with less than 100 digits.\n");
printf("(84^296-1)/(84^37-1) is not an integer with less than 100 digits.\n");
printf("(16^264-1)/(16^44-1) is not an integer with less than 100 digits.\n");
printf("(87^430-1)/(87^43-1) is not an integer with less than 100 digits.\n");
printf("(22^104-1)/(22^13-1) is not an integer with less than 100 digits.\n");
printf("(91^40-1)/(91^10-1) 59052973372357400277787418988286430998373066117298013112404\n");
printf("(27^287-1)/(27^41-1) is not an integer with less than 100 digits.\n");
printf("(73^74-1)/(73^37-1) 876891427553566594100617867320358818569086571684042656865573091384554\n");
printf("(69^180-1)/(69^18-1) is not an integer with less than 100 digits.\n");
printf("(83^93-1)/(83^31-1) is not an integer with less than 100 digits.\n");
printf("(24^108-1)/(24^18-1) is not an integer with less than 100 digits.\n");
printf("(30^9-1)/(30^3-1) 729027001\n");
printf("(59^160-1)/(59^20-1) is not an integer with less than 100 digits.\n");
printf("(94^14-1)/(94^7-1) 64847759419265\n");
printf("(43^120-1)/(43^30-1) is not an integer with less than 100 digits.\n");
printf("(22^100-1)/(22^20-1) is not an integer with less than 100 digits.\n");
printf("(38^245-1)/(38^49-1) is not an integer with less than 100 digits.\n");
printf("(16^84-1)/(16^21-1) 7237005577332262213973186937187413397540521101745871770647665866480096903169\n");
printf("(27^42-1)/(27^42-1) 1\n");
printf("(57^72-1)/(57^24-1) 1914225389693953133408415359672055298096465438871309075822762303326600293600206008003\n");
printf("(71^94-1)/(71^47-1) 1021274268525563511931085694330227258944911498072883923298539774627631945868169334995192\n");
printf("(6^130-1)/(6^26-1) 846700936056091894306274194854787853597596026823644850532345863494479625326690305\n");
printf("(28^222-1)/(28^37-1) is not an integer with less than 100 digits.\n");
printf("(47^120-1)/(47^30-1) is not an integer with less than 100 digits.\n");
printf("(58^150-1)/(58^25-1) is not an integer with less than 100 digits.\n");
printf("(83^230-1)/(83^46-1) is not an integer with less than 100 digits.\n");
printf("(68^175-1)/(68^35-1) is not an integer with less than 100 digits.\n");
printf("(44^8-1)/(44^1-1) 326702875005\n");
printf("(9^243-1)/(9^27-1) is not an integer with less than 100 digits.\n");
printf("(89^140-1)/(89^35-1) is not an integer with less than 100 digits.\n");
printf("(52^50-1)/(52^5-1) 166016198387088199091955782589566265180844901156023130758110661689615148741633\n");
printf("(33^77-1)/(33^11-1) is not an integer with less than 100 digits.\n");
printf("(69^120-1)/(69^40-1) is not an integer with less than 100 digits.\n");
printf("(27^185-1)/(27^37-1) is not an integer with less than 100 digits.\n");
printf("(40^46-1)/(40^46-1) 1\n");
printf("(35^232-1)/(35^29-1) is not an integer with less than 100 digits.\n");
printf("(2^144-1)/(2^48-1) 79228162514264619068520660993\n");
printf("(18^129-1)/(18^43-1) is not an integer with less than 100 digits.\n");
printf("(57^2-1)/(57^2-1) 1\n");
printf("(87^252-1)/(87^42-1) is not an integer with less than 100 digits.\n");
printf("(90^450-1)/(90^45-1) is not an integer with less than 100 digits.\n");
printf("(41^60-1)/(41^30-1) 2418330769289520463963038742566759257517431737202\n");
printf("(18^96-1)/(18^48-1) 1790936736360969372944990075243931530785586679975800865816577\n");
printf("(82^260-1)/(82^26-1) is not an integer with less than 100 digits.\n");
printf("(28^126-1)/(28^18-1) is not an integer with less than 100 digits.\n");
printf("(98^28-1)/(98^4-1) 615780343185158267989332329353138447499501108497\n");
printf("(66^28-1)/(66^7-1) 162338917753679997178695073812803399809\n");
printf("(20^225-1)/(20^25-1) is not an integer with less than 100 digits.\n");
printf("(72^330-1)/(72^33-1) is not an integer with less than 100 digits.\n");
printf("(4^20-1)/(4^20-1) 1\n");
printf("(69^54-1)/(69^9-1) 56002715148753658486035218904730428320388438725867458663399705222830353760772880290\n");
}
